package com.zb.zbtcommon.service.impl;

import com.zb.zbtcommon.dao.CityDao;
import com.zb.zbtcommon.entity.City;
import com.zb.zbtcommon.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service

@Transactional
public class CityServiceImpl implements CityService {

    @Autowired
    private CityDao cityDao;

    @Override
    public List<City> findCity() {
        return cityDao.findCity();
    }
}
